import request from './modules/useRequest'
import 'axios'
import { Api } from './types'

request.get('/api/test', { params: { a: 1 } })

let apiList: Api = {
    login: { url: '/api/login', type: ApiType.post },
    register: { url: '/api/register', type: ApiType.post },
    getUserInfo: { url: '/api/getUserInfo', type: ApiType.get },
    getUserList: { url: '/api/getUserList', type: ApiType.get },
}

